package algorithm.classification.functionsandloss;

public class ActivationFunction_Sigmoid implements ActivationFunction
{
	public final double getDerivatedValue(double x) 
	{
		double d=getValue(x);
		return(d*(1-d));
	}

	public final double getValue(double x) 
	{
		return(1.0/(1.0+Math.exp(-x)));
	}
}
